package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 黑名单分类表
 * </p>
 *
 * @author ct
 * @since 2020-07-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "CrmBlacklistType对象", description = "黑名单分类表")
public class CrmBlacklistType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "黑名单类型id")
    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    @ApiModelProperty(value = "黑名单类型名称")
    @TableField("blacklist_type_name")
    private String blacklistTypeName;

    @ApiModelProperty(value = "黑名单类型描述")
    @TableField("blacklist_type_desc")
    private String blacklistTypeDesc;

    @ApiModelProperty(value = "创建时间")
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    @ApiModelProperty(value = "修改时间")
    @TableField("gmt_modified")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "是否已删除 yes_no")
    @TableField("is_deleted")
    @TableLogic
    private Integer isDeleted;


}
